from selenium.webdriver.common.by import By


# 后台登录页面
class LoginPage(object):

    # 用户名输入框
    username_input = (By.NAME,"username")

    # 密码输入框
    password_input = (By.NAME,"password")

    # 验证码输入框
    verify_input = (By.NAME,"vertify")

    # 登录按钮
    login_button = (By.NAME,"submit")

    # 概览
    overview_text = (By.XPATH,"//dl[@class='active']/dt/a/h3")